Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / FillPolygon Method / FillPolygon(Quadrilateral,Brush,Nullable<RectangleF>,Nullable<Matrix3x2>) Method
A quadrilateral specifying the polygon.
The fill brush.
The optional bounds for a gradient brush.
The transformation applied to the brush.

In This Topic
    FillPolygon(Quadrilateral,Brush,Nullable<RectangleF>,Nullable<Matrix3x2>) Method
    In This Topic
    Fills a polygon specified by an array of points, using a specified brush and fill mode.
    Syntax
    'Declaration
     
    Public Overloads Sub FillPolygon( _
       ByVal quadrilateral As Quadrilateral, _
       ByVal brush As Brush, _
       Optional ByVal brushBounds As System.Nullable(Of RectangleF), _
       Optional ByVal brushTransform As System.Nullable(Of Matrix3x2) _
    ) 
    public void FillPolygon( 
       Quadrilateral quadrilateral,
       Brush brush,
       System.Nullable<RectangleF> brushBounds,
       System.Nullable<Matrix3x2> brushTransform
    )

    Parameters

    quadrilateral
    A quadrilateral specifying the polygon.
    brush
    The fill brush.
    brushBounds
    The optional bounds for a gradient brush.
    brushTransform
    The transformation applied to the brush.
    See Also